public class Leetcode504 {

    public static void main(String[] args) {
        System.out.println(convertToBase7(100));
    }

    public static String convertToBase7(int num) {
        return Integer.toString(num, 7);
    }

}
